import { defineStore } from "pinia";

export const useStore = defineStore('main', {
  state: () => {
    return {
      name: '',
      password: '',
      uid: 0,
      qq: 0,
      token: '',
      uImgSrc: ''
    }
  },
  getters: {},
  actions: {}
})
export const piniaData = defineStore('piniaInfo', {
  state: () => {
    return {
      releaseInfo: {}
    }
  },
  getters: {
    getRelease: (state) => {
      return state.releaseInfo
    }
  }
})
// https://www.jianshu.com/p/414b70002b31